package co.edu.usbcali.raju.games.chess.model;

import org.apache.log4j.Logger;

public class ChooserFactory {
	
	private static Logger logger=Logger.getLogger(ChooserFactory.class.getName());
	
	public static RouletteChooser getBasicRoulette(){
		RouletteChooser choose=new RouletteChooser();
		choose.putEvaluator(EvaluateThreat.getInstance(), 0.15f);
		choose.putEvaluator(EvaluateForce.getInstance(), 0.35f);
		choose.putEvaluator(EvaluateStalemate.getInstance(), 0.5f);
		return choose;
	}

	public static BestChooser getBasicBest(){
		BestChooser choose=new BestChooser();
		choose.putEvaluator(EvaluateThreat.getInstance(), 0.15f);
		choose.putEvaluator(EvaluateForce.getInstance(), 0.35f);
		choose.putEvaluator(EvaluateStalemate.getInstance(), 0.5f);
		return choose;
	}

	public static AlphaBetaChooser getAlphaBeta(){
		AlphaBetaChooser choose=new AlphaBetaChooser();
		//choose.putEvaluator(EvaluateThreat.getInstance(), 0.15f);
		//choose.putEvaluator(EvaluateForce.getInstance(), 0.35f);
		//choose.putEvaluator(EvaluateStalemate.getInstance(), 0.5f);
		return choose;
	}

}
